package ai.mspbots.poc.db.service.impl;

import ai.mspbots.poc.db.entity.SysReport;
import ai.mspbots.poc.db.mapper.SysReportMapper;
import ai.mspbots.poc.db.service.SysReportService;
import ai.mspbots.poc.es.entity.ReportDocument;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author jeffery
* @description 针对表【sys_report】的数据库操作Service实现
* @createDate 2024-09-06 17:01:26
*/
@Service
public class SysReportServiceImpl extends ServiceImpl<SysReportMapper, SysReport>
    implements SysReportService {

    @Override
    public List<ReportDocument> selectReportDocumentList(int current, int size) {
        Page<SysReport> page = new Page<>(current, size);
        return baseMapper.selectReportDocumentList(page);
    }
}




